package javaBase.javaInnerClass;

/**
 * Created by Administrator on 2017/2/22 0022.
 */
public class OuterClass {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    class InnerClass{
        public  InnerClass(){
            name = "chenssy";
            age = 23;
        }
    }
}
